<div class="hy-put-content">
    <blockquote class="layui-elem-quote">
        <button class="layui-btn create-item"><i class="layui-icon">&#xe654;</i>创建投放规则</button>
    </blockquote>
    <div class="hy-put-table"></div>
    <script type="text/html" id="hyPutForm">
        <form class="layui-form padding-5 layui-dialog">
            <div class="layui-form-item">
                <label class="layui-form-label required">投放时间：</label>
                <div class="layui-input-block">
                    <input type="text" name="createTime" required lay-verify="required" readonly
                           placeholder="投放时间"
                           autocomplete="off" value="{{d.data.createTime||''}}"
                           class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label required">火力值基数：</label>
                <div class="layui-input-block">
                    <input type="number" name="radix" required lay-verify="positiveInteger"
                           placeholder="基数"
                           autocomplete="off" value="{{d.data.radix||''}}"
                           class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label required">HY投放量：</label>
                <div class="layui-input-block">
                    <input type="number" name="hy" required lay-verify="required|positiveInteger"
                           placeholder="投放量"
                           autocomplete="off" value="{{d.data.hy||''}}"
                           class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn save" lay-submit lay-filter="{{d.model}}">保存</button>
                    <button type="reset" class="layui-btn">重置</button>
                </div>
            </div>
            <input type="hidden" name="id" value="{{d.data.id||''}}"/>
        </form>
    </script>
</div>

<script type="text/javascript" src="../component/moment/moment.js"></script>
<script type="text/javascript" src="../js/hy-put.js"></script>